module z_flag_gen(
  input  [31:0] in,
  output        out
);
assign out = ~|in;
endmodule
